import Vue from 'vue'
import Vuex from 'vuex'
import repair from './modules/repair'
import materials from './modules/materials'
import energy from './modules/energy.js'
import user from './modules/user.js'
import com from './modules/com.js'
import jurisdiction from './modules/jurisdiction.js'
import tabbar from './modules/tabbar'

Vue.use(Vuex)

const store = new Vuex.Store({
    modules: {
        repair,
        materials,
        energy,
        jurisdiction,
        user,
        com,
        tabbar
    }
})

export default store
